﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PageOn.ascx.cs" Inherits="WebControl_PageOn" %>
<div style="width:100%; height:25px; text-align:center; vertical-align:middle; margin:5px;" >
<span style="float:left;margin-left:20px;">当前为第<asp:Label ID="labCurrent" runat="server" Text="1"></asp:Label>页 共<asp:Label ID="labTotalPage" runat="server" Text="0"></asp:Label>页 共<asp:Label ID="labTotal" runat="server" Text="-1"></asp:Label>条记录</span>
  <span style="float:right; margin-right:20px;">
    <asp:LinkButton ID="btnFist" runat="server" OnClick="btnFist_Click">首页</asp:LinkButton>
    <asp:LinkButton ID="btnLast" runat="server" OnClick="btnLast_Click">上一页</asp:LinkButton>
    <asp:LinkButton ID="btnNext" runat="server" OnClick="btnNext_Click">下一页</asp:LinkButton>
    <asp:LinkButton ID="btnEnd" runat="server" OnClick="btnEnd_Click">尾页</asp:LinkButton>
    &nbsp; 到<asp:TextBox ID="txtPageGo" runat="server" Width="20px" ></asp:TextBox>页
    <asp:Button ID="btnGo"  runat="server" Text="GO" OnClick="btnGo_Click" /> 
  </span>
</div> 
<asp:HiddenField ID="hidePageSize" runat="server" Value="10" />
